from django.urls import path, re_path

from user import views

urlpatterns = [
    path('',views.index_handler,name='index'),
    re_path('set_cookie/(.+)/(.+)',views.set_cookie_handler,name='set_cookie'),
    re_path('get_cookie/(.+)',views.get_cookie_handler,name='get_cookie'),
    re_path('set_session/(.+)/(.+)',views.set_session_handler,name='set_session'),
    re_path('get_session/(.+)',views.get_session_handler,name='get_session'),
    path('clear/',views.clear_handler,name='clear'),
    path('flush/',views.flush_handler,name='flush'),
    path('form/',views.form_handler,name='form'),
    path('form_get/',views.form_get_hangler,name='form_get'),
    path('form_post',views.form_post_hangler,name='form_post'),
    path('regist',views.regist_hangler,name='regist'),
]